package coding;

public class CreationManager
{
	public static MonsterHunter createMonsterHunter(String userChoice, int num)
    {
        String s = userChoice + (num+1);
        if(userChoice.equals("Melee"))
        	return new Melee(new Weapon(),s);
        else if(userChoice.equals("Mage"))
        	return new Mage(new Weapon(),s);
        else if(userChoice.equals("Ranger"))
            return new Ranger(new Weapon(),s);
        return new MonsterHunter(new Weapon(),s); 	
    }
    
	public static Monster createMonster(int num)
    {
    	String s = "Monster" + (num+1);
    	return new Monster(s);
    }
}
